package org.lemon.cla.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.lemon.cla.enums.ClubApplicationStatusEnum;

import java.time.LocalDateTime;

@Data
@Schema(description = "社团申请更新请求对象")
public class ClubApplicationUpdateRequest {

    @Schema(description = "申请理由", example = "对社团活动非常感兴趣，希望能参与。")
    private String reason;

    // 以下字段通常由审核接口或系统自动更新，但在通用更新接口中也可提供
    @Schema(description = "申请状态", example = "已批准", allowableValues = {"待审核", "已批准", "已拒绝"})
    private ClubApplicationStatusEnum status;

    @Schema(description = "审核时间", example = "2024-06-24T10:00:00")
    private LocalDateTime reviewTime;

    @Schema(description = "审核人ID", example = "101")
    private Long reviewerId;

    @Schema(description = "管理员回复", example = "欢迎加入！")
    private String reply;
}